//
//  ImageModel.m
//  Btpin
//
//  Created by Vic on 2019/3/24.
//  Copyright © 2019 Vic. All rights reserved.
//

#import "ImageModel.h"

@implementation ImageModel

- (void)setValuesForKeysWithDictionary:(NSDictionary<NSString *,id> *)keyedValues {
    self.id = [UIToolsControl dataAnalysis:keyedValues[@"id"]];
    self.img = [UIToolsControl dataAnalysis:keyedValues[@"img"]];
    self.url = [UIToolsControl dataAnalysis:keyedValues[@"url"]];
    self.path = [UIToolsControl dataAnalysis:keyedValues[@"path"]];
    self.audit = [UIToolsControl dataAnalysis:keyedValues[@"audit"]];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}

- (id)copyWithZone:(NSZone *)zone {
    ImageModel *model = [[[self class] allocWithZone:zone] init];
    model.id = self.id;
    model.img = self.img;
    model.url = self.url;
    model.path = self.path;
    model.audit = self.audit;
    
    return model;
}

@end
